package com.jiang.vo;

import java.io.Serializable;
import java.util.List;

@SuppressWarnings("serial")
public class Groups implements Serializable {

	private Integer gid;
	private String title;
	private List<Role> roles;

	public Groups() {

	}

	public Groups(Integer gid, String title, List<Role> roles) {
		super();
		this.gid = gid;
		this.title = title;
		this.roles = roles;
	}

	public Integer getGid() {
		return gid;
	}

	public void setGid(Integer gid) {
		this.gid = gid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Override
	public String toString() {
		return "Groups [gid=" + gid + ", title=" + title + "]";
	}

	public List<Role> getRoles() {
		return roles;
	}

	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}

}
